{% extends 'base.html' %}
{% block title %}个人信息{% endblock %}

{% block body %}
    <fieldset class="layui-elem-field layui-field-title">
        <legend>个人信息</legend>
        <div class="layui-field-box" style="font-size: large;line-height: 40px;">
            <div class="layui-row">
                &nbsp;&nbsp;<i
                    class="layui-icon">&#xe857;</i>&nbsp;&nbsp;&nbsp;账&nbsp;&nbsp;&nbsp;号：&nbsp;&nbsp;{{ account.account_number }}
            </div>
            <div class="layui-row">
                {% if account.admin_name %}
                    &nbsp;&nbsp;<i class="layui-icon">&#xe66f;</i>&nbsp;&nbsp;&nbsp;用户名：&nbsp;&nbsp;
                    {{ account.admin_name }}
                {% elif account.username %}
                    &nbsp;&nbsp;<i class="layui-icon">&#xe66f;</i>&nbsp;&nbsp;&nbsp;用户名：&nbsp;&nbsp;{{ account.username }}
                {% endif %}
            </div>
            {% if account.admin_name %}
            <div class="layui-row">
                &nbsp;&nbsp;<i class="layui-icon">&#xe672;</i>&nbsp;&nbsp;&nbsp;拥有权限：&nbsp;{{ account.auth }}
            </div>
            {% endif %}
        </div>
    </fieldset>
{% endblock %}